﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZoneLine.Models.PrintModeConfig
{
    public class PackageArgsConfig: ObservableObject
    {
        public int Id { get; set; }
        private string _workOrder;
        /// <summary>
        /// 加工单
        /// </summary>
        public string WorkOrder
        {
            get { return _workOrder; }
            set => SetProperty(ref _workOrder, value);
        }
        private int _packageCount;
        /// <summary>
        /// 单箱数量
        /// </summary>
        public int PackageCount
        {
            get { return _packageCount; }
            set => SetProperty(ref _packageCount, value);
        }

        private string _materialCode;
        /// <summary>
        /// 物料编号
        /// </summary>
        public string MaterialCode
        {
            get { return _materialCode; }
            set => SetProperty(ref _materialCode, value);
        }

        private string _batchCode;
        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchCode
        {
            get { return _batchCode; }
            set => SetProperty(ref _batchCode, value);
        }

        private string _workShop;
        /// <summary>
        /// 车间
        /// </summary>
        public string WorkShop
        {
            get { return _workShop; }
            set => SetProperty(ref _workShop, value);
        }

        private int _boxNum;
        /// <summary>
        /// 箱号
        /// </summary>
        public int BoxNum
        {
            get { return _boxNum; }
            set => SetProperty(ref _boxNum, value);
        }

        private string _unit;
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit
        {
            get { return _unit; }
            set => SetProperty(ref _unit, value);
        }
        private int _status;
        /// <summary>
        /// 参数状态 1：待时用；2：已使用
        /// </summary>
        public int Status
        {
            get { return _status; }
            set => SetProperty(ref _status, value);
        }
    }
}
